// app.js
App({
  onLaunch() {
    if(!wx.getStorageSync('user')){
      wx.redirectTo({
        url: "/pages/login/index"
      })
    }
  },
  globalData: {
    baseUrl: 'http://edu.main.wszjx.cn'
  },
  indexApi: require('./common/api/index'),
})
